<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link href="https://cdn.bootcss.com/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <link href="https://cdn.bootcss.com/twitter-bootstrap/3.3.7/css/bootstrap-theme.min.css" rel="stylesheet">
    <title>Document</title>
</head>
<body class="container">

<br/>
<h1>活动场次</h1>
<br/><br/>
<div class="with:80%">
    <table class="table table-hover">
        <thead>
        <tr>
            <th>#</th>
            <th>场次说明</th>
            <th>图片url</th>
            <th>vip开始时间</th>
            <th>开始时间</th>
            <th>结束时间</th>
            <th>状态</th>
            <th>栏目</th>
            <th>创建时间</th>
            <th>更新时间</th>
            <th>EDIT</th>
            <th>DELETE</th>
        </tr>
        </thead>
        <tbody>
        <tr th:each="item : ${storeInfoList}">
            <th scope="row" th:text="${item.id}">1</th>
            <td th:text="${item.storeDesc}">4</td>
            <td th:text="${item.storeImgUrl}">Otto</td>
            <td th:text="${item.svipStartTime}">6</td>
            <td th:text="${item.startTime}">6</td>
            <td th:text="${item.endTime}">6</td>
            <td th:text="${item.status}">6</td>
            <td th:text="${item.channel}">6</td>
            <td th:text="${item.createdTime}">6</td>
            <td th:text="${item.lastUpdatedTime}">6</td>
            <td><a th:href="@{/toEdit(id=${item.id})}">edit</a></td>
            <td><a th:href="@{/delete(id=${item.id})}">delete</a></td>
        </tr>
        </tbody>
    </table>


    <br/>
    <h1>账号管理</h1>
    <br/><br/>



    <table class="table table-hover">
        <thead>
        <tr>
            <th>#</th>
            <th>账号</th>
            <th>密码</th>
            <th>token</th>
            <th>创建时间</th>
            <th>更新时间</th>
            <th>更新token</th>
            <th>删除账号</th>
        </tr>
        </thead>
        <tbody>
        <tr th:each="item : ${accountList}">
            <th scope="row" th:text="${item.id}">1</th>
            <td th:text="${item.account}">4</td>
            <td th:text="${item.password}">Otto</td>
            <td th:text="${item.token}">6</td>
            <td th:text="${item.createTime}">6</td>
            <td th:text="${item.updateTime}">6</td>
            <td><a th:href="@{/account/token(id=${item.id})}">更新</a></td>
            <td><a th:href="@{/account/del(id=${item.id})}">删除</a></td>
        </tr>
        </tbody>
    </table>


</div>

</body>

</html>